import request from '@/utils/request'

/**
 * 搜索框查询
 * @param params
 * @returns {*}
 */
export function queryAllSearch(params) {
  return request({
    url: 'rest/api/consult/user/query',
    method: 'get',
    params: params
  })
}

/**
 * 用户检索
 * @param params
 * @returns {*}
 */
export function queryAll(params) {
  return request({
    url: 'rest/api/consult/user/list',
    method: 'get',
    params: params
  })
}

/**
 * 点击查询详情
 * @param params
 * @returns {*}
 */
export function queryEntity(params) {
  return request({
    url: 'rest/api/consult/user/title',
    method: 'get',
    params: params
  })
}

/**
 * 查询常见问题列表
 * @returns {*}
 */
export function queryAllMore() {
  return request({
    url: 'rest/api/consult/user/all',
    method: 'get'
  })
}
